package com.zhiyiang.service.user;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zhiyiang.pojo.User;

public interface UserService {
    Integer dologin(String username,String password);

    Page<User> getAllUser(Integer current, Integer size);

    Page<User> getUser(String query,Integer current, Integer size);

    Boolean addUser(User user);

    User  getUser(String usercode);

    Boolean updateUser(String usercode, User user);

    Boolean  deleteUser(String usercode);
}
